package lambda;

/**
 * @program: baseModule
 * @description:
 * @author: zhanghz001
 * @create: 2020-10-22 17:49
 **/
public class FlyableDemo {
    public static void main(String[] args) {
        useFlyable((s) -> System.out.println("这是一个寂寞的天"));
    }

    private static void useFlyable(Flyable flyable) {
        flyable.fly("");
    }
}
